var events = require('events');
var eventEmitter = new events.EventEmitter();
eventEmitter.on('eatShit',function () {
    console.log('WangYu is eating shit!')
})
eventEmitter.emit('eatShit');